|
AL SET SOUND VOLUME
This function will set the volume level a sound starts out at before attenuation or other effects are applied to it. This value is also scaled up or down with the master volume, which is set with AL SET MASTER VOLUME.
AL SET SOUND VOLUME soundNumber, volume
soundNumber
Integer
The ID you want to use to create this sound.
volume
Float
The volume level of the sound. A value of 0.0 is 0% volume. A value of 1.0 is 100% volume. The default value is 1.0.
This function does not return a value.
|